import { combineReducers } from 'redux';
import { routerReducer as routing } from 'react-router-redux';

import login from './login'
import sort from './sort'
import good from './good'
import shoppingCart from './shoppingCart'
import message from './message'
import register from './register'
import logout from './logout'
import address from './address'
import account from './account'
import order from './order'
// Add the reducer to your store on the `routing` key
const rootReducer = combineReducers({
	login,
	sort,
	good,
	shoppingCart,
	routing,
	message,
    register,
    logout,
    address,
    account,
    order,
});

export default rootReducer;